package com.hopu.pojo;

import java.io.Serializable;

public class House implements Serializable {
    private int hid;
    private int sid;
    private int aid;
    private String haddress;
    private String hfh;
    private String hhx;
    private String hmj;
    private String hcx;
    private float hmoney;
    private float hwf;
    private float hdx;
    private float hsf;
    private float hmq;
    private float dkd;
    private float skd;
    private float mkd;
    private String hjp;
    private String hremark;
    private String himg;
    private int hflag;

    private Sort sort;

    public Sort getSort() {
        return sort;
    }

    public void setSort(Sort sort) {
        this.sort = sort;
    }

    private Area area;

    public Area getArea() {
        return area;
    }

    @Override
    public String toString() {
        return "House{" +
                "hid=" + hid +
                ", sid=" + sid +
                ", aid=" + aid +
                ", haddress='" + haddress + '\'' +
                ", hfh='" + hfh + '\'' +
                ", hhx='" + hhx + '\'' +
                ", hmj='" + hmj + '\'' +
                ", hcx='" + hcx + '\'' +
                ", hmoney=" + hmoney +
                ", hwf=" + hwf +
                ", hdx=" + hdx +
                ", hsf=" + hsf +
                ", hmq=" + hmq +
                ", dkd=" + dkd +
                ", skd=" + skd +
                ", mkd=" + mkd +
                ", hjp='" + hjp + '\'' +
                ", hremark='" + hremark + '\'' +
                ", himg='" + himg + '\'' +
                ", hflag=" + hflag +
                ", area=" + area +
                ", sname='" + sname + '\'' +
                ", aname='" + aname + '\'' +
                '}';
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public int getHid() {
        return hid;
    }

    public void setHid(int hid) {
        this.hid = hid;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getHaddress() {
        return haddress;
    }

    public void setHaddress(String haddress) {
        this.haddress = haddress;
    }

    public String getHfh() {
        return hfh;
    }

    public void setHfh(String hfh) {
        this.hfh = hfh;
    }

    public String getHhx() {
        return hhx;
    }

    public void setHhx(String hhx) {
        this.hhx = hhx;
    }

    public String getHmj() {
        return hmj;
    }

    public void setHmj(String hmj) {
        this.hmj = hmj;
    }

    public String getHcx() {
        return hcx;
    }

    public void setHcx(String hcx) {
        this.hcx = hcx;
    }

    public float getHmoney() {
        return hmoney;
    }

    public void setHmoney(float hmoney) {
        this.hmoney = hmoney;
    }

    public float getHwf() {
        return hwf;
    }

    public void setHwf(float hwf) {
        this.hwf = hwf;
    }

    public float getHdx() {
        return hdx;
    }

    public void setHdx(float hdx) {
        this.hdx = hdx;
    }

    public float getHsf() {
        return hsf;
    }

    public void setHsf(float hsf) {
        this.hsf = hsf;
    }

    public float getHmq() {
        return hmq;
    }

    public void setHmq(float hmq) {
        this.hmq = hmq;
    }

    public float getDkd() {
        return dkd;
    }

    public void setDkd(float dkd) {
        this.dkd = dkd;
    }

    public float getSkd() {
        return skd;
    }

    public void setSkd(float skd) {
        this.skd = skd;
    }

    public float getMkd() {
        return mkd;
    }

    public void setMkd(float mkd) {
        this.mkd = mkd;
    }

    public String getHjp() {
        return hjp;
    }

    public void setHjp(String hjp) {
        this.hjp = hjp;
    }

    public String getHremark() {
        return hremark;
    }

    public void setHremark(String hremark) {
        this.hremark = hremark;
    }

    public String getHimg() {
        return himg;
    }

    public void setHimg(String himg) {
        this.himg = himg;
    }

    public int getHflag() {
        return hflag;
    }

    public void setHflag(int hflag) {
        this.hflag = hflag;
    }

    public House(int hid, int sid, int aid, String haddress, String hfh, String hhx, String hmj, String hcx, float hmoney, float hwf, float hdx, float hsf, float hmq, float dkd, float skd, float mkd, String hjp, String hremark, String himg, int hflag) {
        this.hid = hid;
        this.sid = sid;
        this.aid = aid;
        this.haddress = haddress;
        this.hfh = hfh;
        this.hhx = hhx;
        this.hmj = hmj;
        this.hcx = hcx;
        this.hmoney = hmoney;
        this.hwf = hwf;
        this.hdx = hdx;
        this.hsf = hsf;
        this.hmq = hmq;
        this.dkd = dkd;
        this.skd = skd;
        this.mkd = mkd;
        this.hjp = hjp;
        this.hremark = hremark;
        this.himg = himg;
        this.hflag = hflag;
    }

    public House() {
    }

    //拼接字段
    private String sname;
    private String aname;

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

}
